﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UnityEngine;
public class NoTitleBar : MonoBehaviour {
    // Use this for initialization
    void Start () {
            Resolution[] resolutions = Screen.resolutions;
        //设置当前分辨率  
        Screen.SetResolution(resolutions[resolutions.Length - 1].width, resolutions[resolutions.Length - 1].height, true);

        //Screen.fullScreen = true;  //设置成全屏,  

        
        
    }

    // Update is called once per frame
    void Update () {
		
	}
}
